<!-- components/ResultEmpty.vue -->
<template>
  <el-result icon="warning" title="暂无搜索结果" sub-title="换个关键词试试看～">
    <template #extra>
      <el-button type="primary" @click="$emit('reset')">重新搜索</el-button>
    </template>
  </el-result>
</template>

<script setup>
defineEmits(["reset"]);
</script>
